from __builtin__ import str
print "Hello python"


str = "Hello Python!"

print str
print str[0]
print str[2:5]
print str[2:]
print str*2
print str + "TEST"


list = ['jinwen','welcome',25,'scott',89.3,'computer']
tinylist = [123,'mike']

print list
print list[0]
print list[1:3]
print list[2:]
print tinylist*2
print list+tinylist


tuple = ('jinwen',123,2.23,'scott',90)
tinytuple=('mike',456)

print tuple
print tuple[0]
print tuple[1:3]
print tuple[2:]
print tinytuple*2
print tuple+tinytuple




dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"

tinydict ={'name':'john','code':6734,'dept':'sales'}

print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values()
























